import {defineStore} from 'pinia'
import {ref} from 'vue'

export const useStudentIDStore = defineStore('studentID',()=>{
    const studentID = ref('')

    const setStudentID = (newStudentID)=>{
        studentID.value = newStudentID
    }

    const removeStudentID = ()=>{
        studentID.value = ''
    }

    return{
        studentID,setStudentID,removeStudentID
    }
},{
    persist:true
});
